﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<#include "/pages/include/include.ftl" />
<@h.css href="/css/uc.css"/>
<@h.js src="/javascripts/public/test.js"/>
<#include "/pages/include/setlayout.ftl" />
</head>

<body>
<#assign menuId="link">
<div id="layout1" class="wrapper">

<div position="top">
	测试
</div>
	
<div position="left" style="width:180px;">	
<ul>
	<li><a href="${contextPath}/test/test-home.action">测试</a></li>
</ul>
</div>
	
	<div position="center" title="测试">
		<div class="action-div">
			<a id="delBatch" class="minibutton"><span>删除</span></a>
			<a id="btnAdd" href="javascript:test.add();" class="minibutton"><span>新增</span></a>
		</div>
			<div class="sList">
				<table width="100%" class="sTable" cellpadding="0" cellspacing="0" border="0" >
					<tr>
						<td class="sTh checkbox" ><input class="inputCheckbox allSelect" type="checkbox" id="" name="" /></td>
						<th class="sTh">ID</th>
						<th class="sTh">名称</th>
						<th class="sTh">操作</th>
					</tr>
				<#if tests?exists>
				<#list tests as a>
					<tr class="<#if a_index%2==0>sRow2<#else>sRow1</#if>">
					<td class="sCell" ><input class="inputCheckbox selectItem" type="checkbox" value="${a.id?if_exists}" /></td>
						<td class="sCell">${a.id?if_exists}</td>
						<td class="sCell">${a.name?if_exists}</td>
						<td class="sCell" style="width:200px">
							<a class="op" href="javascript:test.edit(${a.id?if_exists},'${a.name?if_exists}')">编辑</a>
						</td>
					</tr>
				</#list>
				</#if>
				</table>
			</div>
	</div>
	
	
	<div position="bottom">
<div class="wrapper">
	test
		
</div>
</div>
</div>

</body>

</html>
